package com.xhtech.exercise.ui.fragment

import android.os.Bundle
import com.xhtech.exercise.databinding.FragmentHomeBinding
import me.luochenyxh.base.base.BaseDataBindingFragment
import me.luochenyxh.base.workbench.router.RouteLogin

class HomeFragment: BaseDataBindingFragment<FragmentHomeBinding>() {

    override fun initView(savedInstanceState: Bundle?) {
        mDatabind.clickProxy=ClickProxy()
    }

    //点击代理
    inner class ClickProxy {
        fun toLoginHome() {
            RouteLogin.toLoginMain().navigation()
        }
    }
}